<?php

	session_start();	
	if(!$_SESSION['login_user']){
		header("location: ../pages/login.php");
	}
	if(!$_SESSION['admin']){
		header("location: ../pages/login.php?error="+urlencode("Accesso riservato agli amministratori"));
	}
	
	include_once '../appcontroller.php';
?>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta http-equiv="Content-Type" content="text/html;" />
		<meta name="viewport" content="width=device-width, initial-scale=1"/>
			
		<link href="../css/style.css" rel="stylesheet" type="text/css" ></link>
		
		<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
		<script src="http://code.highcharts.com/highcharts.js"></script>
		
		<script src="../lib/statistiche.js"></script>
		
	</head>

	<body>
		<div id="container" style="width:100%; height:400px;" >
		</div>
	</body>

</html>